html {
    background-color: white;
    color: black;
    font-family: sans-serif;
    line-height: 140%;
    margin: 0px;
    padding: 0px;
}

body {
    padding: 0px 0px 60px 0px;
    margin: 0px;
}

div#header {
    font-size: 28px;
    font-weight: bold;
    height: 32px;
    line-height: 32px;
    margin: 24px 0px 12px 128px;
    text-transform: uppercase;
}

div#header img {
    float: left;
    margin: 0px 30px 0px 0px;
}

div#header a {
    text-decoration: none;
}

div#main {
    margin: 0px auto 0px auto;
    max-width: 860px;
}

div#sidebar {
    margin-right: 30px;
    width: 160px;
    float: left;
}

div#sidebar h1 {
    clear: both;
    float: right;
}

div#sidebar a {
    clear: both;
    display: block;
    float: right;
    margin-bottom: 10px;
    text-decoration: none;
    text-transform: uppercase;
}

div#sidebar img {
    margin: 0px;
}

div#content {
    max-width: 670px;
    float: right;
}

div#footer {
    padding-top: 30px;
    clear: both;
    font-size: 90%;
    text-align: center;
}

p {
    padding: 0px;
    margin: 10px 0px 10px 0px;
}

a {
    color: black;
}

h1 {
    font-size: 20px;
    margin: 12px 0px 12px 0px;
}

h2 {
    font-size: 18px;
    margin: 12px 0px 12px 0px;
}

h3 {
    font-size: 16px;
}

h1, h2, h3 {
    text-transform: uppercase;
    font-weight: bold;
}

h1 a, h2 a, h3 a {
    text-decoration: none;
}

img {
    border: none;
    display: block;
    margin: 6px auto 30px auto;
    max-width: 100%;
}

ul {
    list-style-type: square;
    padding-left: 1em;
    margin-left: 1em;
}

code {
    background-color: rgb(250, 250, 250);
    border: 1px solid rgb(200, 200, 200);
    padding-left: 4px;
    padding-right: 4px;
}

pre code {
    display: block;
    padding: 8px;
    margin-bottom: 2em;
}

p.caption {
    display: none;
}

@media all and (max-width: 900px) {
    body {
        padding: 0 1em 0 1em;
    }

    div#header {
        margin: 24px 0px 24px 0px;
    }

    div#main {
        max-width: 100%
    }

    div#sidebar {
        margin-right: 0;
        width: 100%;
        float: none;
        margin-bottom: 1em;
        font-size: 75%;
        opacity: 50%;
    }

    div#sidebar h1 {
        float: none;
    }

    div#sidebar a {
        display: inline;
        float: none;
        margin-bottom: initial;
        padding-right: 2em;
    }

    div#sidebar img {
        display: none;
    }

    div#content {
        max-width: 100%;
        float: none;
    }
}